package cn.village.dao;
import cn.village.entity.CorporationContract;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CorporationContractMapper {

	public CorporationContract getCorporationContractById(@Param(value = "id") String id)throws Exception;

	public List<CorporationContract>	getCorporationContractListByMap(Map<String,Object> param)throws Exception;

	public Integer getCorporationContractCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertCorporationContract(CorporationContract corporationContract)throws Exception;

	public Integer updateCorporationContract(CorporationContract corporationContract)throws Exception;

	public Integer deleteCorporationContractById(@Param(value = "id") String id)throws Exception;

	public Integer batchDeleteCorporationContract(Map<String,List<String>> params);

}